﻿namespace LibUnitConverter {
    public sealed class UnitData {

        private string sCode, sText;

        private double iValue;
        
        public string Code {
            get { return sCode; }
        }
        
        public string Text {
            get { return sText; }
        }
        
        public double Value {
            get { return iValue; }
        }
        
        public UnitData(string asCode, string asText, double aiValue) {
            sCode = asCode;
            sText = asText;
            iValue = aiValue;
        }
    }
}
